<template>
	<view class="wallt">
		<statusBar />
		<!-- 设置 --> 
		<view @tap="leftIndex" class="nav">
			<image src="../../static/setup/jiantou.png" mode=""></image>
			<view>设置-订单设置</view>
		</view>
		<view class="stores">
			<view @tap="Reservation">
				<view>预订单设置</view>
				<image src="../../components/min-collapse/arrow.png" mode=""></image>
			</view>
			<view @tap="OrderSetup">
				<view>自动接单设置</view>
				<image src="../../components/min-collapse/arrow.png" mode=""></image>
			</view>
		</view>
		
	</view>
</template>
<script>
import { mapActions, mapState } from 'vuex';
import { toast } from '@/utils/toast';
import request from '@/utils/request';
import statusBar from '../../components/statusBar/statusBar.vue';	
export default {
	data() {
		return {};
	},
	components: {
		statusBar
	},
	methods:{
		leftIndex(){
			uni.navigateBack({
			    delta: 2,
			
			});
		},
		// 预订单
		Reservation(){
			uni.navigateTo({
				url:"/pages/Setup/Reservation"
			})
		},
		OrderSetup(){
			uni.navigateTo({
				url:"/pages/Setup/OrderSetup"
			})
		}
	}
};
</script>
<style lang="scss" scoped>
	.wallt{
		
	.nav {
		display: flex;
		align-items: center;
		padding: 50upx 30upx 31upx 30upx;
		background: $bg1-color;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		z-index: 9999;
		
		image {
			width: 27upx;
			height: 30upx;
			display: flex;
		}
		& > view {
			font-size: 34upx;
			font-family: Source Han Sans CN;
			font-weight: bold;
			color: $bg2-color;
			margin-left: 30upx;
		}
	}
		.stores{
			padding-top: 100upx;
			background: #FFFFFF;
			&>view:nth-child(1){
				width: 92%;
				margin: 0 auto;
				border-bottom: 1upx solid #EDF0FA;
				display: flex;
				align-items: center;
				justify-content: space-between;
				padding-bottom: 32upx;
				padding-top: 32upx;
				&>view:nth-child(1){
					font-size:32upx;
					font-family:Source Han Sans CN;
					font-weight:400;
					color:$bg-background;
				}
				image{
					width: 20upx;
					height: 21upx;
				}
			}
			&>view:nth-child(2){
				width: 92%;
				margin: 0 auto;
				border-bottom: 1upx solid #EDF0FA;
				display: flex;
				align-items: center;
				justify-content: space-between;
				padding-bottom: 32upx;
				padding-top: 32upx;
				&>view:nth-child(1){
					font-size:32upx;
					font-family:Source Han Sans CN;
					font-weight:400;
					color:$bg-background;
				}
				image{
					width: 20upx;
					height: 21upx;
				}
			}
		}
		
	}
</style>